package com.xjun.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjun.domain.FormtableMain115;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author user
 * @description 针对表【formtable_main_115】的数据库操作Mapper
 * @createDate 2021-11-18 11:56:11
 * @Entity com.xjun.domain.FormtableMain115
 */
@Mapper
@Repository
public interface FormtableMain115Mapper extends BaseMapper<FormtableMain115> {
    FormtableMain115 selectAllById(@Param("id") Integer id);

    List<FormtableMain115> selectAllByProposerOrHandlerOrLxOrReworkOrFbillnoOrGdbhOrBegintimeOrHandeltimeOrEndtime(@Param("proposer") Integer proposer,
                                                                                                                   @Param("handler") String handler,
                                                                                                                   @Param("lx") Integer lx,
                                                                                                                   @Param("rework") Integer rework,
                                                                                                                   @Param("fbillno") String fbillno,
                                                                                                                   @Param("gdbh") String gdbh,
                                                                                                                   @Param("begintime") String begintime,
                                                                                                                   @Param("handeltime") String handeltime,
                                                                                                                   @Param("endtime") String endtime);

    List<FormtableMain115> selectAllBegintime();

    List<FormtableMain115> selectAllByBeginTimeStartOrBeginTimeEnd(@Param("beginTimeStart") String beginTimeStart,
                                                                   @Param("beginTimeEnd") String beginTimeEnd);

}





